from masoniteorm.relationships import belongs_to

from application.config import appSettings
from ..base import BaseModel


class Abolish(BaseModel):
    __connection__ = 'postgres'

    __table__ = appSettings.db_code_prefix + 'abolishs'

    @belongs_to('company_code', 'code')
    def brand(self):
        from ..oem.Company import Company
        return Company


__all__ = ['Abolish']
